Ext.define('App.view.carType.CarTypeList', {
	extend : 'App.config.BaseGrid',
	xtype : 'carTypeList',
    autoSizeXtype:"carTypeList",
	store : Ext.create('App.store.carType.CarTypeStore',{
        groupField: 'carName',
    }),
    features: [{
        groupHeaderTpl: Ext.create('Ext.XTemplate',
            '车系:',
            '<span>{name:this.formatName}</span>',
            {
                formatName: function (name) {
                    return name;
                }
            }
        ),
        ftype: 'groupingsummary'
    }],
	bbar : {
		xtype : 'pagingtoolbar',
		store : this.store,
		scrollable : true,
		displayInfo : true
	},
	columns : [ {
		xtype : 'rownumberer'
	},{
			text : '车行',
			dataIndex : 'name'
		}]
});